﻿Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel

' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
' <System.Web.Script.Services.ScriptService()> _
<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class PermissionsServices
    Inherits System.Web.Services.WebService

    <WebMethod()> _
    Public Function addGroup(ByVal groupName As String, ByVal gameID As String) As String

        Dim sql As String
        sql = "Insert/add groupName and gameID into the group table"

        Return True

    End Function

    <WebMethod()> _
    Public Function addGroupParticipant(ByVal groupID As String, ByVal participantID As String) As String

        Dim sql As String
        sql = "Insert/add groupID and participantID into group_participant table"

        Return True

    End Function

    <WebMethod()> _
    Public Function groupPermissions(ByVal groupId As String, ByVal permissionID As String) As String

        Dim sql As String
        sql = "Insert/add gID and pID into group_permissions"

        Return True
    End Function

End Class